let defaultHeight = 1080
let designwidth = 1920
export const vw = (px: number) => {
  let screenWight =
    window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth
  return px * (screenWight / designwidth)
}
export const vh = (px: number) => {
  let screenHeight =
    window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight
  return px * (screenHeight / defaultHeight)
}
